﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Com.JunCaiSoft.Hr.Model
{
    public class PartmentItem
    {
        /// <summary>
        /// 部门标识
        /// </summary>
        public virtual Guid Id { get; set; }
        /// <summary>
        /// 部门排序号
        /// </summary>
        public virtual Int64 Num { get; set; }
        /// <summary>
        /// 部门编码(企业微信部门ID)
        /// </summary>
        public virtual String NumCode { get; set; }
        /// <summary>
        /// 部门代码（为了兼容原来的Company）
        /// </summary>
        public virtual String Code { get; set; }
        /// <summary>
        /// 部门名称
        /// </summary>
        public virtual String Name { get; set; }
        /// <summary>
        /// 英文名称
        /// </summary>
        public virtual String EnglishName { get; set; }
        /// <summary>
        /// 部门简称
        /// </summary>
        public virtual String NickName { get; set; }
        /// <summary>
        /// 分公司负责人
        /// </summary>
        public virtual String Boss { get; set; }
        /// <summary>
        /// 父节点
        /// </summary>
        public virtual String ParentId { get; set; }
        /// <summary>
        /// 企业微信部门AgentId
        /// </summary>
        public virtual String WXId { get; set; }
        /// <summary>
        /// 企业微信部门CorpSecret
        /// </summary>
        public virtual String WXName { get; set; }
        /// <summary>
        /// 启用标记
        /// </summary>
        public virtual Int32 IsUsed { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public virtual DateTime CreateTime { get; set; }
    }
}
